package com.college.eduService.service;

import com.college.eduService.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.college.eduService.entity.vo.OneSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface EduSubjectService extends IService<EduSubject>{

    //通过文件添加课程分类
    void saveSubject(MultipartFile file,EduSubjectService subjectService);

    //获取所有分类节点及子节点
    List<OneSubject> getAll();
}
